var bgm = document.getElementById("bgm");
var au_bgm = document.getElementById("au_bgm");
//设置管理背景音乐开关的总管变量
var a = 1;
bgm.onclick = function(){
	if (a==1) {
		au_bgm.pause();
		bgm.className = '';
		a = 2;
	}else{
		au_bgm.play();
		bgm.className = 'music';
		a = 1;
	}
}












